namespace ZR.Model.Models.ProductionControl
{
    /// <summary>
    /// 产线管理
    /// </summary>
    [SugarTable("line_config")]
    public class LineConfig : BaseEntity
    {
        /// <summary>
        /// 序号
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
        public int Id { get; set; }

        /// <summary>
        /// 产线代号
        /// </summary>
        [SugarColumn(ColumnName = "line_code")]
        public string LineCode { get; set; }

        /// <summary>
        /// 产线名称
        /// </summary>
        [SugarColumn(ColumnName = "line_name")]
        public string LineName { get; set; }

        /// <summary>
        /// 软删除 1-启用 0-删除
        /// </summary>
        [SugarColumn(ColumnName = "is_enabled")]
        public string IsEnabled { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(ColumnName = "creation_time")]
        public DateTime? CreationTime { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        [SugarColumn(ColumnName = "creator_name")]
        public string CreatorName { get; set; }

        /// <summary>
        /// 空余
        /// </summary>
        public string Spare1 { get; set; }

        /// <summary>
        /// 空余
        /// </summary>
        public string Spare2 { get; set; }
    }
}